package com.orangecy.rulesubscribe.actuator;

import com.orangecy.rulesubscribe.context.RuleContext;
import com.orangecy.rulesubscribe.define.RuleActuatorDTO;
import com.orangecy.rulesubscribe.define.RuleDefineDTO;

/**
 * @Author : orangeCy.奕
 * @Product : 猎豹养成产品源码
 * @Time : 2021/11/14
 * @Desc :
 */
public interface ActuatorStrategy {

    /**
     * 执行
     * @param context
     * @param ruleDefineDTO
     * @return
     */
    RuleActuatorDTO actuator(RuleContext context,RuleDefineDTO ruleDefineDTO);

    /**
     * 类型
     */
    String getActuatorType();
}